1 //http://acm.uva.es/board/viewtopic.php?t=1543&highlight=10003&sid=707852836d9f5e46db0ea0865323a05f
11 long L
,N
,i
,j
,n
,x
,y
,q
,l
,k
,t
,sum
,m
[MAX
][MAX
],p
[MAX
];
13 while(scanf("%ld",&L
)==1 && L
)
42 q
= m
[i
][k
] + m
[k
+1][j
] ;
57 printf("The minimum cutting is %ld.\n",m
[1][n
]);